<%@ page import="com.afishing.entity.User" %>
<%@ page import="com.afishing.listener.OnlineUserListener" %><%--
  Created by IntelliJ IDEA.
  User: 王仕鹏
  Date: 2024/10/12
  Time: 23:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="css/chatroom.css">
</head>
<body>
<%
    //        String username = (String)request.getSession().getAttribute("username");
    User user = (User) session.getAttribute("user");
//        int onlineUserCount = OnlineUserListener.getOnlineUserCount();
%>
<%--<a href="shop_page.html">进入购物页面</a>--%>
<span>_______________________________________________________________________</span><br>
<form action="chatAction" name="form1" method="post">
    输入聊天信息：<input name="msg" type="text" size="40"> <input
        type="submit" style="width: 100px;" value="发送">
</form><br><br>
<span>_______________________________________________________________________</span><br>
<a href="logout">退出登录</a>
<iframe src="msgs.jsp" width="100%" height="100%" style="height: 500px;" frameborder="0"></iframe>

</body>
</html>
